﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Navigation;

namespace WinRTControl.Navigation
{
    public sealed class NNavigationService
    {
        #region NavigationOperation
        private class NavigationOperation
        {
            public Uri Uri { get; set; }
            public Uri UriBeforeMapping { get; set; }
            public Uri UriForJournal { get; set; }
            public NavigationMode Mode { get; set; }
            public bool SuppressNotifications { get; set; }
            public bool SuppressJournalAdd { get; set; }

            public NavigationOperation(Uri uri, Uri uriBeforeMapping, Uri uriForJournal, NavigationMode mode, bool suppressJournalUpdate)
            {
                this.Uri = uri;
                this.UriBeforeMapping = uriBeforeMapping;
                this.UriForJournal = uriForJournal;
                this.Mode = mode;
                this.SuppressJournalAdd = suppressJournalUpdate;
            }
        }
        #endregion

        #region Fields

        private bool _journalIsAddingHistoryPoint;
        private NFrame _host;
        private Uri _currentSource;
        private Uri _currentSourceAfterMapping;
        private Uri _source;

        private Journal _journal;

        #endregion

        #region EventHandler
        
        #endregion

        #region Constructor
        
        #endregion

        internal NNavigationService(NFrame frame)
        {
        }
    }
}
